﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace MvcEngine.Core.Validation
{
    [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = true)]
    public abstract class ValidatorBase : ValidationAttribute 
    {
        public ValidatorBase()
        {
            EnableClientValidation = true;
        }

        public bool IsLocalizable { get; set; }

        public bool EnableClientValidation { get; set; }
    }
}
